package org.example;

import com.typesafe.config.ConfigFactory;
import org.apache.pekko.actor.ActorSystem;
import org.apache.pekko.actor.Props;
import org.example.innocationHandler.PekkoInvocationHandler;
import org.example.inter.Productable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.lang.reflect.Proxy;
import java.util.HashSet;
import java.util.Set;

/**
 * @className: Main
 * @Description:
 * @Author: wangyifei
 * @Date: 2025/3/13 17:37
 */
public class AgentMain {
    private static Logger logger = LoggerFactory.getLogger(AgentMain.class);

    public static void main(String[] args) {
        PekkoInvocationHandler pekkoInvocationHandler = new PekkoInvocationHandler();
        Productable productable = pekkoInvocationHandler.builderProxy(Productable.class);
        productable.produce();
    }
}
